package cn.nuist.service;

import cn.nuist.entity.Customer;

import java.util.List;

public interface CustomerService {
    List<Customer> getAllCustomer();

    void addCustomer(Customer customer);

    void delete (Integer id);

    Customer getCustomerById(Integer id);

    Customer getCustomerByName(String customerName);

    void update(Customer customer);
}
